package com.zhijian.medical.entity.po;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 数字切片-病例-鉴别诊断关联
 *
 * @author Auto Generator
 * @date 2023-01-04 21:26:38
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "数字切片-病例-鉴别诊断关联")
public class DigitalSliceCaseDifferentialDiagnosis {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", hidden = true)
    private Long id;

    /**
     * 来源病例主键id
     */
    @ApiModelProperty("来源病例主键id")
    @NotNull(message = "来源病例主键id不能为空")
    private Long caseId;

    /**
     * 鉴别诊断
     */
    @ApiModelProperty("鉴别诊断")
    @NotBlank(message = "鉴别诊断不能为空")
    private String differentialDiagnosis;

    /**
     * 关联病例主键id
     */
    @ApiModelProperty(value = "关联病例主键id", hidden = true)
    private Long relationCaseId;

    /**
     * 关联病例真实id
     */
    @ApiModelProperty("关联病例真实id")
    private String relationRealCaseId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", hidden = true)
    private Date updateTime;
}